package rkdwogus7.practice;

public class Ch05_OcBook extends Ch05_OcProduct {
	private int isbn;
	private String author;
	private String title;
	
	public Ch05_OcBook(String identifier, String explain, String producer,
			int price, int isbn, String author, String title) {
		super(identifier, explain, producer, price);
		this.isbn = isbn;
		this.author = author;
		this.title = title;
	}

	public int getIsbn() {
		return isbn;
	}

	public void setIsbn(int isbn) {
		this.isbn = isbn;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Override
	public String toString() {
		return "Ch05_OcBook [isbn=" + isbn + ", author=" + author + ", title="
				+ title + "]";
	}
	
	
	
	

}
